﻿using System.IO;
using System.Web;

namespace SpiderMaster.AspNet.TradingSystem
{
    public sealed partial class MemberManagement
    {
        /// <summary> Checks the environment setup.
        /// </summary>
        /// <returns></returns>
        public bool CheckEnvironmentSetup()
        {
            string PhysicalPath = HttpContext.Current.Server.MapPath(Persisted.DataDirectory);
            bool Result = false;

            if (Directory.Exists(PhysicalPath))
                Result = true;

            return Result;
        }
    }
}